package com.gk.panda.apis.service.impl;

import com.gk.panda.apis.dto.UmwWIFIDto;
import com.gk.panda.apis.entity.wifiCapture.WiFiCaptureEntity;
import com.gk.panda.apis.entity.wifiCapture.WifiRequestInfo;
import com.gk.panda.apis.mapper.WiFiCaptureMapper;
import com.gk.panda.apis.service.WiFiCaptureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WiFiCaptureServiceImpl implements WiFiCaptureService {

    @Autowired
    WiFiCaptureMapper wiFiCaptureMapper;

    @Override
    public int insertWiFiCapture(WiFiCaptureEntity wiFiCaptureEntity) {
        return wiFiCaptureMapper.insertWiFiCapture(wiFiCaptureEntity);
    }

    @Override
    public List<WiFiCaptureEntity> getWiFiCaptureList() {
        return wiFiCaptureMapper.getWiFiCaptureList();
    }

    @Override
    public List<WiFiCaptureEntity> getWiFiCapApp(UmwWIFIDto umwWIFIDto) {
        return wiFiCaptureMapper.getWiFiCapApp(umwWIFIDto);
    }

    @Override
    public void insertWifiRequestInfo(WifiRequestInfo info) {
        wiFiCaptureMapper.insertWifiRequestInfo(info);
    }

    @Override
    public List<WifiRequestInfo> getRequestInfo() {
        return wiFiCaptureMapper.getRequestInfo();
    }
}
